function send(id) {
	if(!this.validateAct(id)) return false;
	var sendCtrl = Tools.actEx(this.flowEngineUrl, "GetSelSendCtrl",
		"esId=" + this.sessionId,
		"fpId=" + this.processId,
		"taskId=" + this.taskId,
		"actId=" + id,
		"appData=" + eapi_getAppData());
	
	e_showDebug(sendCtrl);
	if(!Tools.isSuccess(sendCtrl)) return false;
	var defSeletedParam='';
	var paramType = '';
	var eflowObj=this;
	$.suredy.showModal({
		title : "选人发送",
		uri : '../../flow/sender.do',
		data:{xml:sendCtrl,paraType:paramType,para:defSeletedParam},
		okClick:function(){
			var s_id=$('#sendId').val();
			var re = '<SendResult>'+s_id+'</SendResult><'+s_id+'><U>';
			if($('.userRow').length>0){
			$('.userRow').each(function(index){
				if(index==0)
					re += $(this).attr('data-id');
				else
					re += ','+ $(this).attr('data-id');
			})
			re+="</U></"+s_id+">";
			sendExc1(sendCtrl,re,eflowObj);
			$.suredy.closeModal();
			}else{
				alert('请选择人员！');
			}
		}
	});
}

function sendExc1(sendCtrl,sendResult,eflowObj){

	var qsId = new Array();
	var qsScript = new Array();
	var qsCount = 0;
	var qsStr = Tools.getSingleXmlNodeTextByStrOperation(sendCtrl, "QSScript");
	if(!Tools.isStrNull(qsStr)) {
		var resultIds = Tools.getSingleXmlNodeTextByStrOperation(sendResult, "SendResult");
		var idArray = resultIds.split(";");
		var n = idArray.length;
		for(i = 0; i < n; i++) {
			var str = idArray[i];
			var qs = Tools.getSingleXmlNodeTextByStrOperation(qsStr, str);
			if(!Tools.isStrNull(qs)) {
				qsId[qsCount] = str;
				qsScript[qsCount] = qs;
				qsCount++;
			}
		}
	}
	
	if(qsCount > 0) {
		for(i = 0; i < qsCount; i++) {
			if(!eval(qs)) return false;
		}
	}

	var r = Tools.actEx(eflowObj.flowEngineUrl, "SelSend",
		"esId=" + eflowObj.sessionId,
		"fpId=" + eflowObj.processId,
		"taskId=" + eflowObj.taskId,
		"sendSelResult=" + sendResult,
		"appData=" + eapi_getAppData());
	return eflowObj.handleActResult(r);
}